home *** CD-ROM | disk | FTP | other *** search
- this.targetScaleV = 0;
- this.speedV = 0.12;
- this.barM._xscale = 0;
- this.onEnterFrame = function()
- {
- var _loc1_ = this;
- _loc1_.targetScaleV = Math.round(_loc1_._parent.getBytesLoaded() / _loc1_._parent.getBytesTotal() * 100);
- _loc1_.barM._xscale += (_loc1_.targetScaleV - _loc1_.barM._xscale) * _loc1_.speedV;
- _loc1_.win.text = _loc1_._parent.getBytesLoaded() + " / " + _loc1_._parent.getBytesTotal() + " Bytes";
- if(_loc1_.barM._xscale >= 98)
- {
- _loc1_._parent.gotoAndStop("introL");
- _loc1_.onEnterFrame = null;
- }
- };
-